package com.ruoyi.buy.domain.entity.PO;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 到货单明细对象 inv_arrive_info_item
 * 
 * @author ruoyi
 * @date 2024-04-29
 */
public class InvArriveInfoItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表ID */
    private Long nMainId;

    /** 状态（0正常 1已入库） */
    private String status;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String vContractNo;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String vSpaName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String vSpaModel;

    /** 品牌 */
    @Excel(name = "品牌")
    private String vSpaBrand;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyBy;

    /** 经办人 */
    @Excel(name = "经办人")
    private String oprBy;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 货期 */
    @Excel(name = "货期")
    private String nDays;

    /** 到货单编号 */
    @Excel(name = "到货单编号")
    private String vArriveNo;

    /** 本次到货数量 */
    @Excel(name = "本次到货数量")
    private BigDecimal nQty;

    /** 到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arriveTime;

    public void setArriveTime(Date arriveTime)
    {
        this.arriveTime = arriveTime;
    }

    public Date getArriveTime()
    {
        return arriveTime;
    }

    /** 入库单编号 */
    private String vInBoundBillNo;

    private String vBuyNo;

    public String getvBuyNo() {
        return vBuyNo;
    }

    public void setvBuyNo(String vBuyNo) {
        this.vBuyNo = vBuyNo;
    }

    public String getvInBoundBillNo() {
        return vInBoundBillNo;
    }

    public void setvInBoundBillNo(String vInBoundBillNo) {
        this.vInBoundBillNo = vInBoundBillNo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setnMainId(Long nMainId) 
    {
        this.nMainId = nMainId;
    }

    public Long getnMainId() 
    {
        return nMainId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setvContractNo(String vContractNo) 
    {
        this.vContractNo = vContractNo;
    }

    public String getvContractNo() 
    {
        return vContractNo;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setvSpaName(String vSpaName) 
    {
        this.vSpaName = vSpaName;
    }

    public String getvSpaName() 
    {
        return vSpaName;
    }
    public void setvSpaModel(String vSpaModel) 
    {
        this.vSpaModel = vSpaModel;
    }

    public String getvSpaModel() 
    {
        return vSpaModel;
    }
    public void setvSpaBrand(String vSpaBrand) 
    {
        this.vSpaBrand = vSpaBrand;
    }

    public String getvSpaBrand() 
    {
        return vSpaBrand;
    }
    public void setApplyBy(String applyBy) 
    {
        this.applyBy = applyBy;
    }

    public String getApplyBy() 
    {
        return applyBy;
    }
    public void setOprBy(String oprBy) 
    {
        this.oprBy = oprBy;
    }

    public String getOprBy() 
    {
        return oprBy;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setnDays(String nDays) 
    {
        this.nDays = nDays;
    }

    public String getnDays() 
    {
        return nDays;
    }
    public void setvArriveNo(String vArriveNo) 
    {
        this.vArriveNo = vArriveNo;
    }

    public String getvArriveNo() 
    {
        return vArriveNo;
    }
    public void setnQty(BigDecimal nQty) 
    {
        this.nQty = nQty;
    }

    public BigDecimal getnQty() 
    {
        return nQty;
    }

    @Override
    public String toString() {
        return "InvArriveInfoItem{" +
                "id=" + id +
                ", nMainId=" + nMainId +
                ", status='" + status + '\'' +
                ", vContractNo='" + vContractNo + '\'' +
                ", vProjectNo='" + vProjectNo + '\'' +
                ", vSpaName='" + vSpaName + '\'' +
                ", vSpaModel='" + vSpaModel + '\'' +
                ", vSpaBrand='" + vSpaBrand + '\'' +
                ", applyBy='" + applyBy + '\'' +
                ", oprBy='" + oprBy + '\'' +
                ", supplier='" + supplier + '\'' +
                ", nDays='" + nDays + '\'' +
                ", vArriveNo='" + vArriveNo + '\'' +
                ", nQty=" + nQty +
                ", arriveTime=" + arriveTime +
                ", vInBoundBillNo='" + vInBoundBillNo + '\'' +
                ", vBuyNo='" + vBuyNo + '\'' +
                '}';
    }
}
